<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simple Framework: Framework.Utilities.Localization类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Simple Framework
   &#160;<span id="projectnumber">v0.1.1</span>
   </div>
   <div id="projectbrief">A simple Unity application framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_framework_1_1_utilities_1_1_localization.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="class_framework_1_1_utilities_1_1_localization-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Framework.Utilities.Localization类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>本地化管理，负责文本信息的提供。  
 <a href="class_framework_1_1_utilities_1_1_localization.html#details">更多...</a></p>
<div class="dynheader">
类 Framework.Utilities.Localization 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_framework_1_1_utilities_1_1_localization__inherit__graph.png" border="0" usemap="#_framework_8_utilities_8_localization_inherit__map" alt="Inheritance graph"/></div>
<map name="_framework_8_utilities_8_localization_inherit__map" id="_framework_8_utilities_8_localization_inherit__map">
<area shape="rect" id="node2" href="class_framework_1_1_utilities_1_1_singleton.html" title="{Singleton\&lt; Localization \&gt;\n|+ Instance\l|+ Initialize()\l}" alt="" coords="5,20,175,97"/>
<area shape="rect" id="node3" href="interface_framework_1_1_core_1_1_i_system_module.html" title="系统组件，由Laucher管理 " alt="" coords="199,5,311,112"/>
</map>
</div>
<div class="dynheader">
Framework.Utilities.Localization 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_framework_1_1_utilities_1_1_localization__coll__graph.png" border="0" usemap="#_framework_8_utilities_8_localization_coll__map" alt="Collaboration graph"/></div>
<map name="_framework_8_utilities_8_localization_coll__map" id="_framework_8_utilities_8_localization_coll__map">
<area shape="rect" id="node2" href="class_framework_1_1_utilities_1_1_singleton.html" title="{Singleton\&lt; Localization \&gt;\n|+ Instance\l|+ Initialize()\l}" alt="" coords="5,20,175,97"/>
<area shape="rect" id="node3" href="interface_framework_1_1_core_1_1_i_system_module.html" title="系统组件，由Laucher管理 " alt="" coords="199,5,311,112"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a41f28a5dc965e95424832f01cc049259"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#a41f28a5dc965e95424832f01cc049259">Initialize</a> ()</td></tr>
<tr class="memdesc:a41f28a5dc965e95424832f01cc049259"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化函数  <a href="#a41f28a5dc965e95424832f01cc049259">更多...</a><br /></td></tr>
<tr class="separator:a41f28a5dc965e95424832f01cc049259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69464f7895f7b58e778d6ae18b3af6f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#a69464f7895f7b58e778d6ae18b3af6f9">SetLanguage</a> (string language)</td></tr>
<tr class="memdesc:a69464f7895f7b58e778d6ae18b3af6f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置语言。  <a href="#a69464f7895f7b58e778d6ae18b3af6f9">更多...</a><br /></td></tr>
<tr class="separator:a69464f7895f7b58e778d6ae18b3af6f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbbe4b6d45527fb3f3010ec9aacc0098"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#acbbe4b6d45527fb3f3010ec9aacc0098">GetText</a> (string textName)</td></tr>
<tr class="memdesc:acbbe4b6d45527fb3f3010ec9aacc0098"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文本。  <a href="#acbbe4b6d45527fb3f3010ec9aacc0098">更多...</a><br /></td></tr>
<tr class="separator:acbbe4b6d45527fb3f3010ec9aacc0098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3172524bc0e3d8c79af0c78e68fe5695"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#a3172524bc0e3d8c79af0c78e68fe5695">Update</a> (float deltaTime)</td></tr>
<tr class="memdesc:a3172524bc0e3d8c79af0c78e68fe5695"><td class="mdescLeft">&#160;</td><td class="mdescRight">每帧更新  <a href="#a3172524bc0e3d8c79af0c78e68fe5695">更多...</a><br /></td></tr>
<tr class="separator:a3172524bc0e3d8c79af0c78e68fe5695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a612815131cc58879ce5ea8a53f1abdd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#a612815131cc58879ce5ea8a53f1abdd9">Dispose</a> ()</td></tr>
<tr class="memdesc:a612815131cc58879ce5ea8a53f1abdd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">当程序退出时  <a href="#a612815131cc58879ce5ea8a53f1abdd9">更多...</a><br /></td></tr>
<tr class="separator:a612815131cc58879ce5ea8a53f1abdd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aec0688519d6bc71c6cea626dde0fac20"><td class="memItemLeft" align="right" valign="top">readonly string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#aec0688519d6bc71c6cea626dde0fac20">TextFile</a> = &quot;Text/<a class="el" href="class_framework_1_1_utilities_1_1_localization.html#aa4fad02f105872278f8f658998458fac">Language</a>&quot;</td></tr>
<tr class="memdesc:aec0688519d6bc71c6cea626dde0fac20"><td class="mdescLeft">&#160;</td><td class="mdescRight">文本文件地址。  <a href="#aec0688519d6bc71c6cea626dde0fac20">更多...</a><br /></td></tr>
<tr class="separator:aec0688519d6bc71c6cea626dde0fac20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:aa4fad02f105872278f8f658998458fac"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html#aa4fad02f105872278f8f658998458fac">Language</a><code> [get]</code></td></tr>
<tr class="memdesc:aa4fad02f105872278f8f658998458fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前语言。  <a href="#aa4fad02f105872278f8f658998458fac">更多...</a><br /></td></tr>
<tr class="separator:aa4fad02f105872278f8f658998458fac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_framework_1_1_utilities_1_1_singleton"><td colspan="2" onclick="javascript:toggleInherit('properties_class_framework_1_1_utilities_1_1_singleton')"><img src="closed.png" alt="-"/>&#160;属性 继承自 <a class="el" href="class_framework_1_1_utilities_1_1_singleton.html">Framework.Utilities.Singleton&lt; Localization &gt;</a></td></tr>
<tr class="memitem:a3e8f42f51188ce789d8eceba2717356d inherit properties_class_framework_1_1_utilities_1_1_singleton"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Instance</a><code> [get]</code></td></tr>
<tr class="memdesc:a3e8f42f51188ce789d8eceba2717356d inherit properties_class_framework_1_1_utilities_1_1_singleton"><td class="mdescLeft">&#160;</td><td class="mdescRight">实例  <a href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">更多...</a><br /></td></tr>
<tr class="separator:a3e8f42f51188ce789d8eceba2717356d inherit properties_class_framework_1_1_utilities_1_1_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>本地化管理，负责文本信息的提供。 </p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00013">13</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a612815131cc58879ce5ea8a53f1abdd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a612815131cc58879ce5ea8a53f1abdd9">&#9670;&nbsp;</a></span>Dispose()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Framework.Utilities.Localization.Dispose </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当程序退出时 </p>

<p>实现了 <a class="el" href="interface_framework_1_1_core_1_1_i_system_module.html#ad65409c9d10d38719d40860cb9958e35">Framework.Core.ISystemModule</a>.</p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00133">133</a> 行定义.</p>

</div>
</div>
<a id="acbbe4b6d45527fb3f3010ec9aacc0098"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbbe4b6d45527fb3f3010ec9aacc0098">&#9670;&nbsp;</a></span>GetText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string Framework.Utilities.Localization.GetText </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>textName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文本。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">textName</td><td>文本名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的语言</dd></dl>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00115">115</a> 行定义.</p>

</div>
</div>
<a id="a41f28a5dc965e95424832f01cc049259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41f28a5dc965e95424832f01cc049259">&#9670;&nbsp;</a></span>Initialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override void Framework.Utilities.Localization.Initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化函数 </p>

<p>实现了 <a class="el" href="interface_framework_1_1_core_1_1_i_system_module.html#aaa6d30287a78a6e02caf982198285641">Framework.Core.ISystemModule</a>.</p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00047">47</a> 行定义.</p>

</div>
</div>
<a id="a69464f7895f7b58e778d6ae18b3af6f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69464f7895f7b58e778d6ae18b3af6f9">&#9670;&nbsp;</a></span>SetLanguage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Framework.Utilities.Localization.SetLanguage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>language</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置语言。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>语言名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">System.ArgumentNullException</td><td>表格中未找到语言。</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00074">74</a> 行定义.</p>

</div>
</div>
<a id="a3172524bc0e3d8c79af0c78e68fe5695"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3172524bc0e3d8c79af0c78e68fe5695">&#9670;&nbsp;</a></span>Update()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Framework.Utilities.Localization.Update </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>deltaTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>每帧更新 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">deltaTime</td><td>帧间隔</td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="interface_framework_1_1_core_1_1_i_system_module.html#aa41c7ff4d5e211c4b7d7517b617f0e4a">Framework.Core.ISystemModule</a>.</p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00126">126</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aec0688519d6bc71c6cea626dde0fac20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec0688519d6bc71c6cea626dde0fac20">&#9670;&nbsp;</a></span>TextFile</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">readonly string Framework.Utilities.Localization.TextFile = &quot;Text/<a class="el" href="class_framework_1_1_utilities_1_1_localization.html#aa4fad02f105872278f8f658998458fac">Language</a>&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文本文件地址。 </p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="aa4fad02f105872278f8f658998458fac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4fad02f105872278f8f658998458fac">&#9670;&nbsp;</a></span>Language</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string Framework.Utilities.Localization.Language</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当前语言。 </p>

<p class="definition">在文件 <a class="el" href="_localization_8cs_source.html">Localization.cs</a> 第 <a class="el" href="_localization_8cs_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>Assets/Scripts/Core/Utilities/<a class="el" href="_localization_8cs_source.html">Localization.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_framework.html">Framework</a></li><li class="navelem"><a class="el" href="namespace_framework_1_1_utilities.html">Utilities</a></li><li class="navelem"><a class="el" href="class_framework_1_1_utilities_1_1_localization.html">Localization</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
